home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-13 | 544 b | 25 lines | [TEXT/EDIT] |
- #!/bin/csh
- #
- # Error messages self test.
- #
- # Usage : msg_test
- #
- #set verbose = 1
- if (!($?SmallEiffel)) then
- echo "Environment Variable 'SmallEiffel' not set."
- exit 1
- endif
- set compile=${SmallEiffel}/bin/compile
- echo "Errors Messages Checking"
- echo "Compiling Bad Programs of SmallEiffel/lib_msg"
- cd ${SmallEiffel}/lib_msg
- foreach bad (BAD_REDEFINE1 BAD_REDEFINE2 BAD_REDEFINE3)
- ${compile} ${bad} make >&! ${bad}.newmsg
- diff ${bad}.msg ${bad}.newmsg
- if ($status) then
- echo "Message ${bad} changed"
- else
- echo -n "."
- endif
- echo "Done."
-